package com.iot.core.annotation;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

@Target({  ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface Log {

    boolean logNeed() default false;
    String logTemplete() default "";
    boolean logPin() default false;
    boolean logPout() default false;
}
